package com.qk.common.util;

public class ThreadLocalUtil {
    private static final   ThreadLocal<Integer> clueContext = new ThreadLocal<>();

    private ThreadLocalUtil() {
    }

    public static void setClueContext(Integer userId) {
        clueContext.set(userId);
    }
    public static Integer getClueContext() {
        return clueContext.get();
    }
    public static void removeClueContext() {
        clueContext.remove();
    }
}
